/**
* @author AlbertDarren
* @contact 2563491540@qq.com
*/
#include <cstdio>

using namespace std;

int main_69()
{
    int a,b;
    while (scanf("%d%d",&a,&b)!=EOF,a||b)
    {
        printf("%d\n",a+b);
    }
	return 0;
}
